package com.rambler.fileupload.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author suhao
 */
@Data
@Component
@ConfigurationProperties(prefix = "oss")
public class OSSProperties {
    private String endpoint;
    private String region;
    private Integer expireTime;
    private Map<String, String> bucketDomainMap;
}
